<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>用户详情</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  	
  	
  		<table width="100%">
  			<tr>
  				<td>用户名</td>
  				<td>角色</td>
  				<td>真实姓名</td>
  				<td>手机</td>
  				<td>起始时间</td>
  				<td>截止时间</td>
  				<td>生日</td>
  				<td>家庭地址</td>
  			</tr>
	    	<c:forEach items="${list}" var="user">
	    		<tr>
	    			<td>${user.username }</td>
	    			<td>${user.uusername }</td>
	    			<td>${user.rename }</td>
	    			<td>${user.mobile }</td>
	    			<td><fmt:formatDate value="${user.createTime }" type="date" pattern="yyyy-MM-dd"/></td>
	    			<td><fmt:formatDate value="${user.expiryDate }" type="date" pattern="yyyy-MM-dd"/></td>
	    			<td><fmt:formatDate value="${user.birthday }" type="date" pattern="yyyy-MM-dd"/></td>
	    			<td>${user.adress }</td>
	    		</tr>
	    	</c:forEach>
    	</table>
  </body>
</html>
